package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.GetWholeCategoryResponse;

import java.util.ArrayList;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/7/26.
 */

public interface GetWholeCategoryRequest {
    @GET("categories")
    Observable<BaseModel<ArrayList<GetWholeCategoryResponse>>> getResult(@Query("token") String token,
                                                                         @Query("is_number") int is_number,
                                                                         @Query("is_hot") int is_hot);
}
